package club.easin.sq.dto;

import club.easin.common.BaseDto;
import club.easin.config.db.MyStringHandleType;
import club.easin.config.db.Mystring;
import tk.mybatis.mapper.annotation.ColumnType;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;

@Table(name = "sq_inmate_temp")
public class SqInmateTemp extends BaseDto implements Serializable {
    @Id
    private String tempid;
    private String inmateid;
    private String name;
    @ColumnType(typeHandler = MyStringHandleType.class)
    private Mystring telephone;
    @ColumnType(typeHandler = MyStringHandleType.class)
    private Mystring address;
    @ColumnType(typeHandler = MyStringHandleType.class)
    private Mystring idcode;

    private Date checkintime;
    @ColumnType(typeHandler = MyStringHandleType.class)
    private Mystring carcode;

    private Date createtime;
    private Date updatetime;
    @ColumnType(typeHandler = MyStringHandleType.class)
    private Mystring emaile;
    private String checkid;

    private String age;

    private Date brithday;

    /**
     * @return inmateid
     */
    public String getInmateid() {
        return inmateid;
    }

    /**
     * @param inmateid
     */
    public void setInmateid(String inmateid) {
        this.inmateid = inmateid == null ? null : inmateid.trim();
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Mystring getTelephone() {
        return telephone;
    }

    public void setTelephone(Mystring telephone) {
        this.telephone = telephone;
    }

    public Mystring getAddress() {
        return address;
    }

    public void setAddress(Mystring address) {
        this.address = address;
    }

    public Mystring getIdcode() {
        return idcode;
    }

    public void setIdcode(Mystring idcode) {
        this.idcode = idcode;
    }

    public Date getCheckintime() {
        return checkintime;
    }

    public void setCheckintime(Date checkintime) {
        this.checkintime = checkintime;
    }

    public Mystring getCarcode() {
        return carcode;
    }

    public void setCarcode(Mystring carcode) {
        this.carcode = carcode;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Mystring getEmaile() {
        return emaile;
    }

    public void setEmaile(Mystring emaile) {
        this.emaile = emaile;
    }

    public String getCheckid() {
        return checkid;
    }

    public void setCheckid(String checkid) {
        this.checkid = checkid;
    }

    public String getTempid() {
        return tempid;
    }

    public void setTempid(String tempid) {
        this.tempid = tempid;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public Date getBrithday() {
        return brithday;
    }

    public void setBrithday(Date brithday) {
        this.brithday = brithday;
    }
}